package com.letv.whatslive.model.redis.chat.protocol;

import com.alibaba.fastjson.JSON;

/**
 * Created by wangjian7 on 2015/12/21.
 */
public class MessageConfEvent {

    //消息缓存开关
    private Boolean cacheMessageFlag;

    //点赞队列深度
    private Integer likeQueueDepth;

    //监听队列线程回收延迟时间
    private Long queueRecycleDelay;

    //监听队列线程消息收取间隔时长
    private Long queueReceiveInterval;

    public MessageConfEvent(){

    }

    public Boolean getCacheMessageFlag() {
        return cacheMessageFlag;
    }

    public void setCacheMessageFlag(Boolean cacheMessageFlag) {
        this.cacheMessageFlag = cacheMessageFlag;
    }

    public Integer getLikeQueueDepth() {
        return likeQueueDepth;
    }

    public void setLikeQueueDepth(Integer likeQueueDepth) {
        this.likeQueueDepth = likeQueueDepth;
    }

    public Long getQueueRecycleDelay() {
        return queueRecycleDelay;
    }

    public void setQueueRecycleDelay(Long queueRecycleDelay) {
        this.queueRecycleDelay = queueRecycleDelay;
    }

    public Long getQueueReceiveInterval() {
        return queueReceiveInterval;
    }

    public void setQueueReceiveInterval(Long queueReceiveInterval) {
        this.queueReceiveInterval = queueReceiveInterval;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
